package com.ccsoft.atools.service;

import com.ccsoft.atools.dao.FieldConfigMapper;
import com.ccsoft.atools.model.FieldConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FieldConfigServiceImpl implements FieldConfigService {

    @Autowired
    private FieldConfigMapper dao;
    @Override
    public int deleteByPrimaryKey(Integer iid) {
        return dao.deleteByPrimaryKey(iid);
    }

    @Override
    public int insert(FieldConfig record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(FieldConfig record) {
        return dao.insertSelective(record);
    }

    @Override
    public FieldConfig selectByPrimaryKey(Integer iid) {
        return dao.selectByPrimaryKey(iid);
    }

    @Override
    public int updateByPrimaryKeySelective(FieldConfig record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FieldConfig record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public List<FieldConfig> selectAll() {
        return dao.selectAll();
    }

    @Override
    public List<FieldConfig> selectEqual(FieldConfig record) {
        return dao.selectEqual(record);
    }

    @Override
    public List<FieldConfig> selectLike(FieldConfig record) {
        return dao.selectLike(record);
    }

}
